export function buildRequestEntity({requestUrl, dictKey, params}) {
  const opt = {method: 'get', url: requestUrl}
  if (dictKey) {
    opt.params = {key: dictKey}
  } else {
    opt.params = {}
    if (params) {
      Object.assign(opt.params, params)
    }
  }
  return opt
}
